package com.tfswx.jcyw.ruleenginedesigner.dao;

import com.tfswx.jcyw.ruleenginedesigner.dao.model.GzyqXtStjg;
import com.tfswx.jcyw.ruleenginedesigner.dto.stgl.StjgListByStdybmQueryOutputDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Ricky
 * @date 2021/5/11
 */
@Mapper
public interface GzyqXtStjgMapper {
    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(GzyqXtStjg record);

    List<StjgListByStdybmQueryOutputDTO> queryStjgListByStdybm(GzyqXtStjg gzyqXtStjg);

    int update(GzyqXtStjg gzyqXtStjg);

    int delete(GzyqXtStjg gzyqXtStjg);

    int qkStjg(List<String> stdybmList);
}
